package com.ruoyi.petSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 添加好友对象 add_friend
 * 
 * @author ruoyi
 * @date 2024-05-15
 */
public class AddFriend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 申请添加好友的用户 */
    @Excel(name = "申请添加好友的用户")
    private Long applyUserId;

    /** 被申请添加好友的用户 */
    @Excel(name = "被申请添加好友的用户")
    private Long beApplyUserId;

    /** 1为同意，0为未同意，2为拒绝 */
    @Excel(name = "1为同意，0为未同意，2为拒绝")
    private Long isAgree;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setApplyUserId(Long applyUserId) 
    {
        this.applyUserId = applyUserId;
    }

    public Long getApplyUserId() 
    {
        return applyUserId;
    }
    public void setBeApplyUserId(Long beApplyUserId) 
    {
        this.beApplyUserId = beApplyUserId;
    }

    public Long getBeApplyUserId() 
    {
        return beApplyUserId;
    }
    public void setIsAgree(Long isAgree) 
    {
        this.isAgree = isAgree;
    }

    public Long getIsAgree() 
    {
        return isAgree;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applyUserId", getApplyUserId())
            .append("beApplyUserId", getBeApplyUserId())
            .append("isAgree", getIsAgree())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
